package com.fy.market.strategy.model.entity.tree.valobj;

import com.fy.market.strategy.model.enums.RuleLogicCheckTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author fwq
 * @desc 决策树节点指向线对象。用于衔接 from->to 节点链路关系
 * @date 2025-09-26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RuleTreeNodeLineVO {
    /**
     * 决策树ID
     */
    private String treeId;
    /**
     * 规则Key节点 From
     */
    private String ruleNodeFrom;
    /**
     * 规则Key节点 To
     */
    private String ruleNodeTo;
    /**
     * 限定类型；1:=;2:>;3:<;4:>=;5<=;6:enum[枚举范围],说人话就是决定下一个节点走向的判断方式
     */
    private RuleLimitTypeVO ruleLimitType;
    /**
     * 限定值（到下个节点）, 说人话就是决定下一个节点走向的判断值
     */
    private String ruleLimitValue;
}
